Skip to content

fix(PathMatcher.php): allow /var/ root - #69

Merged
rcalicdan merged 2 commits into
typephp-php:mainfrom
aha-creative:68-path-checks-skip-legitmate-directories
Sep 17, 2026
Merged

rcalicdan merged 2 commits into
typephp-php:mainfrom
aha-creative:68-path-checks-skip-legitmate-directories

Conversation

@aha-creative

Copy link
Copy Markdown
Contributor

Changed mayPathBeIncluded to allow root '/var/' dirctory while still checking for
'/var/' in other parts of the path.

Fixes #68

Changed mayPathBeIncluded to allow root '/var/' dirctory while still checking for
'/var/' in other parts of the path.

Fixes typephp-php#68
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rcalicdan

Copy link
Copy Markdown
Member

Thanks for this changes.. I am going to merge this now..

@rcalicdan
rcalicdan merged commit 8be3c3c into typephp-php:main Sep 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Path checks skip legitimate directories

3 participants